/**
 * Copyright (c) 2019 xstgongyi.org
 * All rights reserved.
 */
package org.xstgongyi.eduaid.dataobject;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 会计分录
 * 
 * @author oldcrane<br/>
 * @created 2019-04-19
 */
public class JouneyEntryDO implements java.io.Serializable {
	private static final long serialVersionUID = 1L;

	private Integer id;
	private Integer subjectId;
	private Integer credit;
	private Integer debit;
	private Integer sponsorId;
	private Integer studentId;
	private Integer projectId;
	private String summary;
	private LocalDate accountingDate;
	private LocalDateTime gmtCreated;
	private LocalDateTime gmtUpdated;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getSubjectId() {
		return subjectId;
	}

	public void setSubjectId(Integer subjectId) {
		this.subjectId = subjectId;
	}

	public Integer getCredit() {
		return credit;
	}

	public void setCredit(Integer credit) {
		this.credit = credit;
	}

	public Integer getDebit() {
		return debit;
	}

	public void setDebit(Integer debit) {
		this.debit = debit;
	}

	public Integer getSponsorId() {
		return sponsorId;
	}

	public void setSponsorId(Integer sponsorId) {
		this.sponsorId = sponsorId;
	}

	public Integer getStudentId() {
		return studentId;
	}

	public void setStudentId(Integer studentId) {
		this.studentId = studentId;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public LocalDate getAccountingDate() {
		return accountingDate;
	}

	public void setAccountingDate(LocalDate accountingDate) {
		this.accountingDate = accountingDate;
	}

	public LocalDateTime getGmtCreated() {
		return gmtCreated;
	}

	public void setGmtCreated(LocalDateTime gmtCreated) {
		this.gmtCreated = gmtCreated;
	}

	public LocalDateTime getGmtUpdated() {
		return gmtUpdated;
	}

	public void setGmtUpdated(LocalDateTime gmtUpdated) {
		this.gmtUpdated = gmtUpdated;
	}

	@Override
	public String toString() {
		return "JouneyEntry [id=" + id + ", subjectId=" + subjectId + ", credit=" + credit + ", debit=" + debit
				+ ", summary=" + summary + ", accountingDate=" + accountingDate + "]";
	}

}
